(31337_76434165550872, `Link the screen to a RAM component to show the data inside. How exactly the data is displayed depends on the selected mode.

[large]Screen modes[/large]
The screen has four modes, which change the way it displays values:
0: ASCII 8
1: ASCII 32
2: Pixel 8
3: Pixel 32

Further, each mode has different settings, which can be changed while running using the screens input pins.

[large]ASCII 8 mode[/large]
Each byte is interpreted as a character on an 96 by 40 character screen. 

[b]Settings:[/b]
0 Change mode
1 Set data offset
2 Set foreground color
3 Set background color
4 Set font

[large]ASCII 32 mode[/large]
Every 4 bytes consist of a character, a foreground color, a background color and a padding byte.

8-bit colors have 3 bits for red, 3 bits for green and 2 bits for blue, like so:
[b][color=#ff5555]RRR[/color][color=#55ff55]GGG[/color][color=#5555ff]BB[/color][/b]

[b]Settings:[/b]
0 Change mode
1 Set data offset

[large]Pixel 8[/large]
Each byte is interpreted as a pixel color, with 3 bits for red, 
3 bits for green and 2 bits for blue, like so:
[b][color=#ff5555]RRR[/color][color=#55ff55]GGG[/color][color=#5555ff]BB[/color][/b]

Pixel modes resolutions are 4:3 aspect ratio, from 4×3 all the way to 1024×768.
The resolution is calculated based on the setting as follows: 
4 × (setting + 1) : 3 × (setting + 1)

[b]Settings:[/b]
0 Change mode
1 Set data offset
2 Set resolution 

[large]Pixel 32[/large]
Every 4 bytes are interpreted as a pixel color, with one byte each for red, green and blue, and a final padding byte:
[b][color=#ff5555]RRRRRRRR[/color][color=#55ff55]GGGGGGGG[/color][color=#5555ff]BBBBBBBB[/color][/b]

Pixel modes resolutions are 4:3 aspect ratio, from 4×3 all the way to 1024×768.
The resolution is calculated based on the setting as follows: 
4 × (setting + 1) : 3 × (setting + 1)

[b]Settings:[/b]
0 Change mode
1 Set data offset
2 Set resolution 

[large]ASCII fonts[/large]
These are the ASCII fonts:

[large][b]Art (cp437)[/b][large]
[image="TC_cp437.png"]

[large][b]Text (cp850)[/b][large]
[image="TC_cp850.png"]

[large][b]APL (cp910)[/b][large]
[image="TC_cp910.png"]

[large][b]Cyrillic (cp866)[/b][large]
[image="TC_cp866.png"]
`)